<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="${path}/plugins/bootstrap-3.3.7-dist/css/bootstrap.css">
    <link rel="stylesheet" href="${path}/css/register.css">
    <title>注册</title>



</head>
<body>
<!-- 导航begin -->
<%@ include file="../common/nav.jsp" %>
<!-- 导航end -->


<div class="container-fluid" style="padding-top: 50px;">
    <div class="col-md-10">
        <div col-md-10>



            <form action="${path}/user/registercl" class="form-horizontal" role="form" method="post">
                <fieldset>
                    <legend><h3>用户登陆入口</h3></legend>
                    <div class="form-group has-feedback">
                        <label  class="col-sm-2 control-label">用户名</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" name="username"  placeholder="请输入用户名">
                            <span class="glyphicon glyphicon-user form-control-feedback"></span>
                            <c:if test="${param.error == 1}">
                                <div class="col-md-2">
                                    <span class="label label-danger">用户已存在！</span>
                                </div>
                            </c:if>
                        </div>
                    </div>
                    <div class="form-group has-feedback" >
                        <label class="col-sm-2 control-label">密码</label>
                        <div class="col-sm-5">
                            <input type="password" name="password" class="form-control"  placeholder="请输入密码">
                            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                        </div>
                    </div>
                    <div class="form-group has-feedback" >
                        <label  class="col-sm-2 control-label">手机号</label>
                        <div class="col-sm-5">
                            <input type="text" name="phone" class="form-control"  placeholder="请输入手机号">
                            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                        </div>
                    </div>
                    <div class="form-group has-feedback" >
                        <label  class="col-sm-2 control-label">密保问题</label>
                        <div class="col-sm-5">
                            <input type="text" name="question" class="form-control"  placeholder="请输入密保问题">
                            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                        </div>
                    </div>
                    <div class="form-group has-feedback" >
                        <label class="col-sm-2 control-label">密保答案</label>
                        <div class="col-sm-5">
                            <input type="text" name="answer" class="form-control"  placeholder="请输入密保答案">
                            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-5">
                            <button type="submit" class="btn btn-default">注册</button>
                            <button type="reset" class="btn btn-default">重置</button>
                        </div>
                    </div>
                </fieldset>
            </form>

        </div>
    </div>
</div>
<%--尾部--%>


<script src="${path}/plugins/jquery/jquery.min.js"></script>
<script src="${path}/plugins/bootstrap-3.3.7-dist/js/bootstrap.js"></script>

<script>
    $('#myCarousel').carousel({
        interval: 2000
    })
</script>
<%@ include file="../common/footer.jsp" %>

</body>
</html>
